<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card">

    <div class="layui-card-body padding-left-40">
	    <div class="layui-form-item ck-hidden">
            <span class="color-green font-w7 label-required-prev">选择审批人</span>
            <div class="layui-textarea" style="min-height:auto;padding:10px 0 13px 18px">
                {php} $status = 1; {/php}
                {foreach $approval_user as $k => $v}
                {if input('approval_user_id') eq $v.id.''}
                <input checked name="approval_user_id" title="{$v.nickname}" lay-filter="status" type="radio" value='{$v.id}'>
                {else}
                <input name="approval_user_id" title="{$v.nickname}" lay-filter="status" type="radio" value='{$v.id}'>
                {/if}{/foreach}
            </div>
        </div>
        <div class="hr-line-dashed"></div>
        {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}
        <div class="layui-form-item text-center">
            <button class="layui-btn" type='submit'>提交</button>
            <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消吗？" type='button'>取消</button>
        </div>
    </div>
</form>
<script>
    layui.use(['form'], function(){
        var form = layui.form;
        form.on("radio(status)", function (data) {
            var status = data.value;
            if (this.value == '0') {
                $("#operation_step").show();
                $(".video_forensics_div,.proxy_statement_div,.read_agreement_div").hide()

            } else if (this.value == '1') {
                $("#operation_step").hide();
                $(".video_forensics_div,.proxy_statement_div,.read_agreement_div").show()

            }
        });
        layui.form.render();
        $("input[name='status']:checked").next('.layui-form-radio').trigger("click");
    });


</script>